# 水仙花数,
for number in range(100,1000):
    ones = number % 10
    tens = (number % 100) // 10
    hundreds = number // 100

    if (hundreds*hundreds*hundreds + tens*tens*tens + ones*ones*ones) == number:
        print(f"{number}是水仙花数")